import React from 'react'
import SearchAreaDataBodySectionDataList from './SearchAreaDataBodySectionDataList'

/**
 * 搜索数据块
 *
 * @author leonzhangxf 20190117
 */
class SearchAreaDataBodySection extends React.Component {
  render() {
    let data = this.props.data;
    return (
      <div className="SearchArea-Data-Body-Section">
        <span className="SearchArea-Data-Body-Section-Category">{data.category}</span>
        <SearchAreaDataBodySectionDataList dataList={data.data}></SearchAreaDataBodySectionDataList>
      </div>
    );
  }
}

export default SearchAreaDataBodySection;